package com.lyf.shop.common;

public interface Const {
    String FORWARD = "forward:";
    String REDIRECT = "redirect:";
    String COLON = ":";

    //验证码
    String VALIDATE = "validate";

    interface UserConst {
        //会员
        int IS_MUNBER = 0;
        //管理员
        int IS_ADMIN = 1;
        //激活
        int HAS_ACTIVE = 1;
        //未激活
        int HAS_NOT_ACTIVE = 0;
        //登录
        String AUTO_LOGIN = "auto_login";
        //用户是否登录
        String LOGIN_USER = "login_user";
    }

    interface OrderConst {
        int ORDER_NON_PAY = 0;//未付款
        int ORDER_Pay_SUCCESS = 1;  // 已经付款未发货
        int ORDER_SEND = 2;  // 发货待收货
        int ORDER_SEND_COMMENT = 3;  // 收货待评价
        int ORDER_COM = 4;  // 订单完成
        int ORDER_RETURN = 5;  // 退货状态
    }
}
